<?php
/**
 * Redis 常量
 *
 * @author: hjh <hjh@jf.com>
 *
 * Date: 2017/7/20
 * Time: 14:23
 */

namespace Constants;

/**
 * Class RedisDBConstant
 *
 * @package Constants
 */
class RedisDBConstant
{
    //---------------- DB USER  ---------------------
    const DB_FEED_ID = 0;
    const DB_FEED_KEY = 'USER_FEED_ID';

    const DB_SCORE = 1;
    const DB_SCORE_KEY = 'WEIGHT_SCORE_RANK';

    const DB_REVIEW_VERSION = 1;
    const DB_REVIEW_VERSION_KEY = 'NEW_REVIEW_VERSION';
    const DB_LOGIN_BY_CODE_KEY='NEW_LOGIN_BY_CODE';

    //---------------- DB NOTICE --------------------

    //----------------  DB OTHER --------------------

    const REDIS_TOPIC_UPDATE_QUEUE = 'MeiteTopicUpdate';
    const DB_TOPIC_INFO_ID = 0;
    const DB_TOPIC_INFO_PREFIX = 'MEITE_TOPIC_ID:';
}
